package net.learn.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.learn.framework.common.dao.BaseDao;
import net.learn.system.entity.SysSubjectEntity;
import net.learn.system.entity.SysVideoDetailEntity;
import net.learn.system.query.SysVideoDetailQuery;
import net.learn.system.vo.SysVideoDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-01-11
 */
@Mapper
public interface SysVideoDetailDao extends BaseDao<SysVideoDetailEntity> {

    IPage<SysVideoDetailEntity> qryVideoDetailListPage(IPage<SysVideoDetailEntity> page, @Param("SysVideoDetailQuery") SysVideoDetailQuery qry);

    List<SysVideoDetailVO> qryVideoDetailList(@Param("SysVideoDetailQuery") SysVideoDetailQuery qry);
}
